package com.mall.business.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

/**
 * 问题反馈对象 t_problem
 *
 * @author ruoyi
 * @date 2025-03-31
 */
@Data
@TableName(value = "t_problem")
@EqualsAndHashCode(callSuper = true)
public class TProblem extends BaseEntity{
private static final long serialVersionUID = 1L;

/** $column.columnComment */
@TableId(type = IdType.ASSIGN_ID)
private String id;
/** "用户id" */
@Excel(name = "用户id")
private String userId;
/** "问题类型" */
@Excel(name = "问题类型")
private String type;
/** "问题内容" */
@Excel(name = "问题内容")
@Size(min = 0, max = 200, message = "内容不能超过200个字符")
private String content;
/** "图片" */
@Excel(name = "图片")
private String image;
/** "联系方式" */
@Excel(name = "联系方式")
@Size(min = 0, max = 50, message = "联系方式不能超过50个字符")
private String linkFs;

}
